<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>http状态码</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
  <div class="page">
      <div class="page__hd">
          <dic class="page__title">flex</dic>
          <div class="page__desc">flex布局</div>
          </div>
          <div class="page__bd page__bd_spacing"></div>
          <!-- weui 项目前缀，弹性布局组件 新一轮的BEM -->
          <div class="weui-flex">
              <div class="weui-flex_item">
                  <div class="placeholder">weui</div>
              </div>
              </div>
              <div class="weui-flex">
                <div class="weui-flex_item">
                    <div class="placeholder">weui</div>
                </div>
              <div class="weui-flex_item">
                <div class="placeholder">weui</div>
            </div>
            </div>
              <div class="weui-flex">
                <div class="weui-flex_item">
                    <div class="placeholder">weui</div>
                </div>
              <div class="weui-flex_item">
                <div class="placeholder">weui</div>
            </div>
            <div class="weui-flex_item">
                <div class="placeholder">weui</div>
            </div>
          </div>
      </div>
      <div class="page__ft">
          <a href="javascript:home()" style="color:white">
            <!-- img 标签也会发出http请求
            127.0.1.1 IP
        png 属于微信的
        可以给你，也可以不给
        保护站点的资源，减少一些无效请求
        -->
            <img src="icon_footer_link.png" alt="">
        </a><!--行内样式-->
      </div>
  </div>
  <script>// typeof 不靠谱
  //JS 函数的一等对象
      function home(){
//js 挑战页面
//window 全局对象
//location
window.location.href='/home';
      }
      console.log(typeof home);
  </script>
</body>
</html>